Fix reads of tracks when time_t isn't 32bits. (as on AMD64/Linux)
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 28 Oct 2003 23:47:26 +0000 (23:47 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 28 Oct 2003 23:47:26 +0000 (23:47 +0000)
gpsbabel/mapsource.c

index 669555409e4c080531c0b8c503493ad0299050be..972d90225893545f406bfd1c8a1fb175f69fa9dd 100644 (file)
@@ -1204,7 +1204,7 @@ mps_track_r(FILE *mps_file, int mps_ver, route_head **trk)
        int lat;
        int lon;
 
-       time_t  dateTime = 0;
+       int     dateTime = 0;
        route_head *track_head;
        unsigned int trk_count;